#pragma once
#include "UIComponent.h"
#include "Peer.h"

class Button : public UIComponent{
    private:
        std::string _text;
        Peer*  _peer;
    public:
        Button(int,int,int,int,std::string);
        void draw();
        void onselect();
        void setDownload(std::string,std::string);
};
